import { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw = {
  path: 'system',
  name: 'system',
  component: ()=>import('@/layout/components/Parent.vue'),
  meta: {
    title: '系统管理',
    icon: 'menu'
  },
  children: [
    {
      path: 'userList',
      name: 'userList',
      component: () => import('@/views/system/user/list.vue'),
      meta: {
        title: '用户管理',
        requiresAuth: true,
        keepAlive: true
      },
    },{
      path: 'wxloginLog',
      name: 'wxloginLog',
      component: () => import('@/views/system/wxloginLog/list.vue'),
      meta: {
        title: '微信登录日志',
        requiresAuth: true,
        keepAlive: true
      },
    }
  ],


};

export default routes;
